package com.zzyl.service;

import com.zzyl.base.PageBean;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingLevelPageQueryDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {

    /**
     * 查询所有护理等级
     * @return
     */
    List<NursingLevelVo> list();

    /**
     * 新增护理等级
     * @param nursingLevelDto
     */
    void addNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 条件分页查询护理等级
     * @param dto
     * @return
     */
    PageBean<NursingLevelVo> listByPage(NursingLevelPageQueryDto dto);

    /**
     * 根据id查询护理等级
     * @param id
     * @return
     */
    NursingLevelVo getNursingLevelById(Long id);

    /**
     * 修改护理等级
     * @param nursingLevelDto
     */
    void updateNursingLevel(NursingLevelDto nursingLevelDto);

    /**
     * 删除护理等级
     * @param id
     */
    void deleteNursingLevel(Long id);

    /**
     * 启用禁用护理等级
     * @param id
     * @param status
     */
    void enableOrDisableNursingLevel(Long id, Integer status);
}
